<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="js/vue.js"></script>
	</head>
	<body>
		<div id="a">
			<h1 >{{person.name}}  {{person.age}}</h1>
			<h1>{{hobby[0]}}  {{hobby[1]}}</h1>
		</div>
		
		<script>
			new Vue({
				el:"#a",
				data(){
					return {
						person:{
							name:"jack",
							age:45
						},
						hobby:["jack","45"]
					}
				}
			})
		</script>
	</body>
</html>
